[INFO] cloning repository https://github.com/amcoder/tail-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amcoder/tail-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ff6e8fc26e3cfaf1ec623f4d32e963fd516a809
[INFO] checking amcoder/tail-rust against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/amcoder/tail-rust on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/amcoder/tail-rust
[INFO] finished tweaking git repo https://github.com/amcoder/tail-rust
[INFO] tweaked toml for git repo https://github.com/amcoder/tail-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/amcoder/tail-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dfd0ea1a7efc5abe7a1e2d54d4aad0cfdd61f3e59dd53b6420d066e5a13525b7
[INFO] running `Command { std: "docker" "start" "-a" "dfd0ea1a7efc5abe7a1e2d54d4aad0cfdd61f3e59dd53b6420d066e5a13525b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfd0ea1a7efc5abe7a1e2d54d4aad0cfdd61f3e59dd53b6420d066e5a13525b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfd0ea1a7efc5abe7a1e2d54d4aad0cfdd61f3e59dd53b6420d066e5a13525b7", kill_on_drop: false }`
[INFO] [stdout] dfd0ea1a7efc5abe7a1e2d54d4aad0cfdd61f3e59dd53b6420d066e5a13525b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 191dc229ed6b70be2a7a6a3d640a546c613a1131217d3359d49bdb67ebfbb3bb
[INFO] running `Command { std: "docker" "start" "-a" "191dc229ed6b70be2a7a6a3d640a546c613a1131217d3359d49bdb67ebfbb3bb", kill_on_drop: false }`
[INFO] [stderr]     Checking tail-rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::os::args`
[INFO] [stdout]  --> src/main.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::{ args };
[INFO] [stdout]   |                ^^^^ no `args` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::os::args`
[INFO] [stdout]  --> src/main.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::{ args };
[INFO] [stdout]   |                ^^^^ no `args` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult`, `std::io::IoError`, `std::io::EndOfFile`, `std::io::SeekSet`, `std::io::SeekCur`, `std::io::SeekEnd`, `std::io::BufferedReader`
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  |     File, IoResult, IoError, EndOfFile,
[INFO] [stdout]    |     ^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^^^ no `EndOfFile` in `io`
[INFO] [stdout]    |     |     |         |
[INFO] [stdout]    |     |     |         no `IoError` in `io`
[INFO] [stdout]    |     |     no `IoResult` in `io`
[INFO] [stdout]    |     no `File` in `io`
[INFO] [stdout] 8  |     stderr, stdout, stdin,
[INFO] [stdout] 9  |     SeekSet, SeekCur, SeekEnd,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^ no `SeekEnd` in `io`
[INFO] [stdout]    |     |        |
[INFO] [stdout]    |     |        no `SeekCur` in `io`
[INFO] [stdout]    |     no `SeekSet` in `io`
[INFO] [stdout] 10 |     BufferedReader,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            std::fs::File
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 7  |     File, Result, IoError, EndOfFile,
[INFO] [stdout]    |           ~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 7  |     File, IoResult, Error, EndOfFile,
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optflag`, `getopts::optopt`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]   --> src/main.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup };
[INFO] [stdout]    |                ^^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stdout]    |                |        |       |
[INFO] [stdout]    |                |        |       no `getopts` in the root
[INFO] [stdout]    |                |        no `optopt` in the root
[INFO] [stdout]    |                no `optflag` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::Deque`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::Deque;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `Deque` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::ringbuf`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::collections::ringbuf::RingBuf;
[INFO] [stdout]    |                       ^^^^^^^ could not find `ringbuf` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult`, `std::io::IoError`, `std::io::EndOfFile`, `std::io::SeekSet`, `std::io::SeekCur`, `std::io::SeekEnd`, `std::io::BufferedReader`
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  |     File, IoResult, IoError, EndOfFile,
[INFO] [stdout]    |     ^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^^^ no `EndOfFile` in `io`
[INFO] [stdout]    |     |     |         |
[INFO] [stdout]    |     |     |         no `IoError` in `io`
[INFO] [stdout]    |     |     no `IoResult` in `io`
[INFO] [stdout]    |     no `File` in `io`
[INFO] [stdout] 8  |     stderr, stdout, stdin,
[INFO] [stdout] 9  |     SeekSet, SeekCur, SeekEnd,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^ no `SeekEnd` in `io`
[INFO] [stdout]    |     |        |
[INFO] [stdout]    |     |        no `SeekCur` in `io`
[INFO] [stdout]    |     no `SeekSet` in `io`
[INFO] [stdout] 10 |     BufferedReader,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            std::fs::File
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 7  |     File, Result, IoError, EndOfFile,
[INFO] [stdout]    |           ~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 7  |     File, IoResult, Error, EndOfFile,
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optflag`, `getopts::optopt`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]   --> src/main.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup };
[INFO] [stdout]    |                ^^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stdout]    |                |        |       |
[INFO] [stdout]    |                |        |       no `getopts` in the root
[INFO] [stdout]    |                |        no `optopt` in the root
[INFO] [stdout]    |                no `optflag` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::Deque`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::Deque;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `Deque` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::ringbuf`
[INFO] [stdout]   --> src/main.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::collections::ringbuf::RingBuf;
[INFO] [stdout]    |                       ^^^^^^^ could not find `ringbuf` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | static BUFFER_SIZE: uint = 1024;
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | static DEFAULT_LINES: uint = 10;
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     item_count: uint,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FromTop` in this scope
[INFO] [stdout]    --> src/main.rs:103:56
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   '+' => (nstr[1..], FromTop),
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   + use Direction::FromTop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FromBottom` in this scope
[INFO] [stdout]    --> src/main.rs:104:49
[INFO] [stdout]     |
[INFO] [stdout] 104 | ...                   _ => (nstr, FromBottom),
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   + use Direction::FromBottom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FromBottom` in this scope
[INFO] [stdout]    --> src/main.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 115 |             None => (DEFAULT_LINES, FromBottom),
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   + use Direction::FromBottom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]    --> src/main.rs:149:34
[INFO] [stdout]     |
[INFO] [stdout] 149 |         file_name => File::open(&Path::new(file_name)).and_then(|mut file| {
[INFO] [stdout]     |                                  ^^^^ use of undeclared type `Path`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 5   + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/main.rs:159:34
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn tail_file(file: &mut File, n: uint) -> IoResult<()> {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/main.rs:176:68
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let bytes_to_read = min(bytes_left, BUFFER_SIZE as u64) as uint;
[INFO] [stdout]     |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stdout]    --> src/main.rs:205:19
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn tail_reader<R: Reader>(reader: &mut BufferedReader<R>, options: &TailOptions) -> IoResult<()> {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stdout]    --> src/main.rs:225:23
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn tail_reader_top<R: Reader>(reader: &mut BufferedReader<R>, n: uint) -> IoResult<()> {
[INFO] [stdout]     |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/main.rs:225:66
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn tail_reader_top<R: Reader>(reader: &mut BufferedReader<R>, n: uint) -> IoResult<()> {
[INFO] [stdout]     |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stdout]    --> src/main.rs:237:19
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn copy_to_end<T: Reader, U: Writer>(reader: &mut T, writer: &mut U) -> IoResult<()> {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stdout]    --> src/main.rs:237:30
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn copy_to_end<T: Reader, U: Writer>(reader: &mut T, writer: &mut U) -> IoResult<()> {
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/main.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup };
[INFO] [stdout]    |                                                 ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:670:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:114:27
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Some(nstr) => try!(parse_item_count(nstr.as_slice())),
[INFO] [stdout]     |                           ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 |     try!(file.seek(0, SeekEnd));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let status = try!(file.stat());
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         try!(file.seek(-((bytes_to_read + bytes_read) as i64), SeekCur));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |         bytes_read = try!(file.read(buffer.slice_mut(0, bytes_to_read)));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     try!(stdout.write(buffer[i+1..bytes_read]));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         try!(file.seek(0, SeekSet));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:210:20
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let line = try!(line);
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         try!(stdout.write_str(line.as_slice()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         try!(stdout.write_str(line.as_slice()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:229:20
[INFO] [stdout]     |
[INFO] [stdout] 229 |         let line = try!(line);
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |         try!(writer.write(buffer[0..bytes_read]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | static BUFFER_SIZE: uint = 1024;
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | static DEFAULT_LINES: uint = 10;
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     item_count: uint,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FromTop` in this scope
[INFO] [stdout]    --> src/main.rs:103:56
[INFO] [stdout]     |
[INFO] [stdout] 103 | ...                   '+' => (nstr[1..], FromTop),
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   + use Direction::FromTop;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FromBottom` in this scope
[INFO] [stdout]    --> src/main.rs:104:49
[INFO] [stdout]     |
[INFO] [stdout] 104 | ...                   _ => (nstr, FromBottom),
[INFO] [stdout]     |                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   + use Direction::FromBottom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FromBottom` in this scope
[INFO] [stdout]    --> src/main.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 115 |             None => (DEFAULT_LINES, FromBottom),
[INFO] [stdout]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 5   + use Direction::FromBottom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]    --> src/main.rs:149:34
[INFO] [stdout]     |
[INFO] [stdout] 149 |         file_name => File::open(&Path::new(file_name)).and_then(|mut file| {
[INFO] [stdout]     |                                  ^^^^ use of undeclared type `Path`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 5   + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/main.rs:159:34
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn tail_file(file: &mut File, n: uint) -> IoResult<()> {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/main.rs:176:68
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let bytes_to_read = min(bytes_left, BUFFER_SIZE as u64) as uint;
[INFO] [stdout]     |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stdout]    --> src/main.rs:205:19
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn tail_reader<R: Reader>(reader: &mut BufferedReader<R>, options: &TailOptions) -> IoResult<()> {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stdout]    --> src/main.rs:225:23
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn tail_reader_top<R: Reader>(reader: &mut BufferedReader<R>, n: uint) -> IoResult<()> {
[INFO] [stdout]     |                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]    --> src/main.rs:225:66
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn tail_reader_top<R: Reader>(reader: &mut BufferedReader<R>, n: uint) -> IoResult<()> {
[INFO] [stdout]     |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stdout]    --> src/main.rs:237:19
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn copy_to_end<T: Reader, U: Writer>(reader: &mut T, writer: &mut U) -> IoResult<()> {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stdout]    --> src/main.rs:237:30
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn copy_to_end<T: Reader, U: Writer>(reader: &mut T, writer: &mut U) -> IoResult<()> {
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/main.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup };
[INFO] [stdout]    |                                                 ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:670:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:114:27
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Some(nstr) => try!(parse_item_count(nstr.as_slice())),
[INFO] [stdout]     |                           ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 170 |     try!(file.seek(0, SeekEnd));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let status = try!(file.stat());
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         try!(file.seek(-((bytes_to_read + bytes_read) as i64), SeekCur));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |         bytes_read = try!(file.read(buffer.slice_mut(0, bytes_to_read)));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     try!(stdout.write(buffer[i+1..bytes_read]));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         try!(file.seek(0, SeekSet));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:210:20
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let line = try!(line);
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         try!(stdout.write_str(line.as_slice()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         try!(stdout.write_str(line.as_slice()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:229:20
[INFO] [stdout]     |
[INFO] [stdout] 229 |         let line = try!(line);
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |         try!(writer.write(buffer[0..bytes_read]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]    --> src/main.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut bytes_read = 0u;
[INFO] [stdout]     |                          ^^ invalid suffix `u`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]    --> src/main.rs:167:29
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let mut newline_count = 0u;
[INFO] [stdout]     |                             ^^ invalid suffix `u`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(if_let)]
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]    --> src/main.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut bytes_read = 0u;
[INFO] [stdout]     |                          ^^ invalid suffix `u`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]    --> src/main.rs:167:29
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let mut newline_count = 0u;
[INFO] [stdout]     |                             ^^ invalid suffix `u`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]    --> src/main.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |         match from_str(nstr.as_slice()) {
[INFO] [stdout]     |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(if_let)]
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]    --> src/main.rs:106:15
[INFO] [stdout]     |
[INFO] [stdout] 106 |         match from_str(nstr.as_slice()) {
[INFO] [stdout]     |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tail-rust` (bin "tail-rust") due to 25 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tail-rust` (bin "tail-rust" test) due to 25 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "191dc229ed6b70be2a7a6a3d640a546c613a1131217d3359d49bdb67ebfbb3bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "191dc229ed6b70be2a7a6a3d640a546c613a1131217d3359d49bdb67ebfbb3bb", kill_on_drop: false }`
[INFO] [stdout] 191dc229ed6b70be2a7a6a3d640a546c613a1131217d3359d49bdb67ebfbb3bb
